package com.jxbeidou.system.setting.convert;

import com.jxbeidou.system.setting.entity.IgnoreUrlDO;
import com.jxbeidou.system.setting.vo.IgnoreUrlVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 允许访问URL表
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface IgnoreUrlConvert {
    IgnoreUrlConvert INSTANCE = Mappers.getMapper(IgnoreUrlConvert.class);

    IgnoreUrlDO convert(IgnoreUrlVO vo);

    IgnoreUrlVO convert(IgnoreUrlDO entity);

    List<IgnoreUrlVO> convertList(List<IgnoreUrlDO> list);

}